loans-api
Create Collateral Right
Environment | Method | URL |
---|---|---|
Mock | POST | https://eu1.anypoint.mulesoft.com/mocking/api/v1/sources/exchange/assets/b83f053f-2270-498d-88d6-a7fa1a88abcb/loans-exp-api/1.0.46/m/loans/collateral-right |
Dev | POST | NA |
Stage | POST | https://maictrlstg01.nbirq.com/loans-api/v1/loans/collateral-right |
Prod | POST | NA |
Description: This endpoint is used to create collateral-right based on the below json request.
Mulesoft Request:
Headers:
Mandatory Headers: x-channel-id,x-correlation-id, x-bank-id,client_id, Authorization
Optional Headers: x-sub-channel-id,x-user-id, client_secret,x-debug-flag,x-debug-flag, x-customer-id
Paramaters:
URI Params: Na
Query Params: NA
Content-type: application/json
Mulesoft Request
To use the service to create collateral right , the value in the arrangement field should be "NEW"
{
"customerId": "1000067570",
"collateralCode": "14",
"reviewFrequency": "M1201",
"expiryDate": "20250125",
"notes": "LOAN"
}
Mulesoft Response In Case Of Create:
Success Response: (200)
{
"status": {
"success": "true",
"code": "200",
"arabicMessage": "تمت العملية بنجاØ",
"englishMessage": "The Operation has been Successfully Completed"
},
"response": {
"collateral": {
"id": "1000067570.141",
"validitDate": "20230418",
"reviewFrequency": "20240401M1201",
"expiryDate": "20250125",
"status": "CUR",
"limit": [
"LI2303700852",
"LI2303700853",
"LI2303700854"
]
}
}
}